<%@ page language="java"  pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Tx竞拍系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	
	<link rel="stylesheet" type="text/css" href="link/css/style.css">
	<script type="text/javascript" src="link/js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="link/js/jquery.validate.js"></script>
	<script type="text/javascript" src="link/js/messages_cn.js"></script>
	<script type="text/javascript">		
$().ready(function() {	   
	$("#adminForm").validate({
		rules:{
			fdAdminname: {
			 required: true
			},
			fdPassword: {
			 required: true,
			 minlength: 6
			}
		} 
	   });
   });
	</script>
  </head>
  
  <body leftmargin="0">

<html:form action="/tx/admin/adminManage" style="width='60%';margin-left:250px;"  target="_top" styleId="adminForm">
<div  width="60%">
    <h1 style="margin:60px 0px 30px 0;line-height:50px; font-style:italic;">欢迎使用Tx竞拍系统</h1>
	<hr style="border:2px solid #99CCFF;height:2px;">
	
	<table cellpadding="5" cellspacing="5" border="0" width="100%" bgcolor="#cccccc">
		<tr>
			<td width="150px">管理员用户名：</td><td>
			<input name="fdAdminname" type="text" style="width:150px;" /></td>
		</tr>
		<tr><td>管理员密码：</td><td><span >
			
			<input type="password" name="fdPassword" value="" style="width:150px;" />
			</span>
			<input type="hidden" name="method" value="adminLogin" />
			</td></tr>
			
		<tr><td colspan="2" height="60px">		
			<input type="submit" value="登陆" style="width:80px" name="btnok"></td>
		</tr>
		<tr>
			<td colspan="2" height="40px" valign="bottom">
			<html:errors/></td>
		</tr>
	</table>
	
	<div>
	    <hr style="border:1px solid #99CCFF;height:1px;">
	    <div style="font-size:10px; color:#666666;">TX auction&shopping System ＠CopyRight 2010
	    <span style="margin-left:30px;">powered by struts1.3 spring2.5 </span></div></td>
		 <html:link page="/tx/admin/adminManage.do?method=getAdminsByPaging">Show employeeList</html:link>
		 </span> 
	  </div>

</div>
</html:form>
  </body>
</html>
